FROM openjdk:8-jdk-alpine
RUN mkdir -p /app/
VOLUME /app
COPY ./target/docker_springboot-1.0-SNAPSHOT.jar /app/
RUN touch /app/docker_springboot-1.0-SNAPSHOT.jar
ENTRYPOINT ["java","-jar","/app/docker_springboot-1.0-SNAPSHOT.jar"]
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime